package com.desmart.renjiao.orgainzation;

import com.desmart.renjiao.bean.MemberInfo;
import com.lemon.library.mvp.BaseModel;
import com.lemon.library.mvp.BasePresenter;
import com.lemon.library.mvp.BaseView;

import java.util.List;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;

public interface DepartmentMember{

    interface DepartmentMemberM extends BaseModel{

        Observable<ResponseBody> getMember(RequestBody string);
    }

    interface DepartmentMemberV extends BaseView {

        void onMemberList(List<MemberInfo> users);
    }

    abstract class DepartmentMemberP extends BasePresenter<DepartmentMemberM,DepartmentMemberV>{

        abstract void getMember(String id,String type);

    }

}
